#!/bin/evn python
if __name__ == '__main__':
    from aligned_corpus_reader import *

    root = '../../data/naacl/'
    root_giza = '../../data/giza/'
    align_fileid = ['trial.wa']
    text_fileids = ['trial.e', 'trial.f']
    giza_fileid = ['alignment-en-fr']
    naacl_mode = 'text'
    naacl_mode_1 = 'align'

    giza = GizaCorpusReader(root_giza, giza_fileid)
    naacl = NaaclCorpusReader(root, text_fileids, naacl_mode)
    naacl_1 = NaaclCorpusReader(root, align_fileid, naacl_mode_1)
##    print naacl.words()
##    print len(naacl.words())
##    print naacl.sents()
##    print naacl_1.sents()
##    print naacl_1.aligned_sents()
##    print giza.sents()
    print giza.aligned_sents()
